package com.simple.microservices.dao.dataobject;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;
/**
 * @author hyf
 * @date 2021/10/11
 */
@Data
@TableName("miss_banner")
public class Banner implements Serializable {
    // 主键ID
    @TableId(type = IdType.ASSIGN_UUID)
    private Long id;
    // 标题
    private String image;
    // 备注
    private String url;
    // 创建时间
    @TableField(value = "insert_time")
    private Timestamp insertTime;
    // 更新时间
    @TableField(value = "update_time")
    private Timestamp updateTime;

    private Integer deleted;
    /** 数据状态 */
    private Integer status;
}